<template>
  <div>
    <h2>{{ message }}</h2>
    <!-- 插槽 -->
    <slot></slot>
  </div>
</template>

<script>
export default {
  data() {
    return {
      message: 'hello'
    }
  }
}
</script>

<style scoped>

</style>